<?php

namespace LhpAmis\Traits;

use LhpAmis\Renderers\BaseApi;
use LhpAmis\Renderers\Amis;

trait QueryPathTrait
{
    /**
     * 新增页面
     *
     * @return string
     */
    protected function getCreatePath()
    {
        if (function_exists('url')) {
            return (string) url('create');
        }
        return (string) 'create';
    }
}
